package com.atguigu.tingshu.user.client.impl;


import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.vo.base.user.UserInfo;
import com.atguigu.tingshu.vo.base.user.UserPaidTrack;
import com.atguigu.tingshu.user.client.UserInfoFeignClient;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class UserInfoDegradeFeignClient implements UserInfoFeignClient {

    @Override
    public Result<UserInfo> getUserInfo(Long id) {
        return Result.fail();
    }

    @Override
    public Result<Boolean> isPayAlbum(Long albumId) {
        return Result.fail();
    }

    @Override
    public Result<List<UserPaidTrack>> isPayTrack(Long albumId) {
        return Result.fail();
    }

    @Override
    public Result updateVipStatus() {
        return Result.fail();
    }
}
